Replace deprecated Mime::XXX with Mime[:xxx]