Yet another EventEmitter implementation