Use new serialization method.