Changed serialization examples (binary and xml)