Fix indent.
Separate handle_actions from execute.