Fixed being unable to find method in class inheritance hierarchy