#280 re-added support for sessions.