Use session instead of engine.