Get model class from supertypes