All classes with a reference to a managed resource now implement IDisposable.