Support registering types with properties defined on inherited prototypes.