Better mimetypes, improved doc, raise unhandled exceptions