Deprecate addParameters
and addDecorator
#11417
Merged
addParameters
and addDecorator
#11417