Control structure for connecting and disconnecting event emitters and event handlers.