Fix calling of parent class method from a nested class.