Start of a serialization implementation.