class MetadataRegistryImpl extends AbstractRegistry<Metadata, MetadataKey, MetadataProvider> implements MetadataRegistry {

    @Override
    public void removeItemMetadata(String itemName) {
        // remove our metadata for that item
        getManagedProvider()
                .ifPresent(managedProvider -> ((ManagedMetadataProvider) managedProvider).removeItemMetadata(itemName));
    }

    public  MetadataRegistryImpl();

}