Change serialization callback to private
Implement IDisposable on types that own IDisposable resources