XMLSerializer cleanup.