Expand docstrings on serialization