Add trivial serialization stuff