Improve documentation for serialization methods.