Extends EventEmitter-like classes