Added documentation on the EventEmitter