Update to be compatible with current Diakonos code (which has a Session class now).