More boilerplate to hook _server with _session.