Serialization fix.