Added session recording.