Inheritance resolving - WIP