Added session stuff.