Added session handler.