Entity Hierarchy with support for subclasses