Added MetadataContext API.