Privately declare deprecated public methods/properties
There are two traits
PublicPropertyDeprecationTrait. These require defining a property map which methods/properties should be handled.
To ensure deprecations continue to work even in classes extending these and overwriting the property map the property map must be declared