Moved context generation from lusty code into server