Fixes #20. Inherited properties are now wrapped.