Lightweight event emitter module.