Cleaning up the AllPropertiesMetadataEnhancer class.