Implemented IDisposable interface.
Marked class as sealed.