Serialize.