Fix the EventEmitter inheritance