Gets or sets all methods called before serialization of the object.
The methods called before serialization of the object.