Fix bug in session document.