Add isParentOf and isInheritorOf methods