Properties get copied when inheritance is involved. Fixed bug where
members of different class types with same instance name got overwritten.