getDataClass() implementation moved to Enum