Add AbstractSession for easier mocking