UPDATE: add in new target convertMetadataToExtension.