Fix up various serialization functions in model.
Implement a very basic listing of frames.