Keep the request context around to save the g object.