Added doesInheritFrom.