Fix attrib refs in metadata.rb.