Fixed instance var lookup of inheritance.