Refactor base class for Actions