Adds exceptions for unsupported mime types