view_session: Rename variables for clearer view.