Renaming Reference to Ref in MetadataBuilder