Expose Session and monkeypatch