Events now get parameters and the request mimetype.