Add support for mimetypes