src/session-func.c: Add comments.