Expose Metadata and MetadataBuilder through the public scala and java packages.