#14: Add serialization support.