Cleaned up the doc comments for the session handling