Refactored the support for metadata extensions in the config file.
Refactored the support for metadata extension in the config file.