Fixed NPE when trait is defined using "extends" and super-trait defines a field/property