Fixed override of methods from indirect inheritance.