Add mime export for back-compat