Fix self.inherited so the bahvior of subclasses of subclasses stays the same