Made things IDisposable.