Fix inheritance and methods access