The Keys are events of the WriteStream and the values are the functions that are called when the event is emitted.