fix inheritance problem with non property schemes.
the generator couldn't generate the class, which has no property and its parent class has also no property.