Update to use event emitter interface exclusively.