Refactor Action companion object.