Add serialization extensions