Move entity type info definition to helper class.