Get rid of two mime-types dependencies.