Track optional properties in resource types and traits.
Get optional properties and trait/type application working property.