Fix: support properties through class hierarchies.