Improve playback behavior while recording.
Add a basic framework for serializing models.