Fixed a method name to match EventEmitter.