Change some serialization properties.