Metadata API implementation