Use Object.defineProperties in ViewContextAndStyle.