MetadataFactory (work in progress)