Add record and playback feature.