making compatible with MetadataUtils...