Adds simple serialization