added the capability to use all the methods inherited from EventEmitter