Handled serialization.
Lots of stuff. Serialization...