making compatible with MetadataUtils