Enum view building moved to common class