Updating metadata.rb to make attributes optional, #6