Made main Emitter class implement IDisposable