can't be private, used in MimeHelper