Moved session management into Session (class).