Ensure custom properties work correctly with inheritance