Refactoring of begin() of actions.