only own properties set to class
Merge pull request #3 from uestla/property-inheriting

only own properties set to class