Fix various human errors in attribute definitions of metadata.rb.