Added MIME deduction.