make ProxyMetadataBuilder return specific MetadataBuilder