Refactor action handler to type hint the action
Refactor action handler to type hint the action

Equally accurate and does not additional testing.

Also improves protection of execution order.

AlexMasterov/framework