Refactoring.
Add Actions interface and implementation.