Implement namespaces in metadata