PRD-4379: Extended API to support modification of element attributes in sub-modules.
PRD-4379: Expand the metadata API so that sub-modules can add or alter attribute-metadata of elements.
Removed some deprecated usages of old code.
PRD-4379: Expand the metadata API so that sub-modules can add or alter attribute-metadata of elements.