Enforced specifying 'emitter' if 'event' is specified in config.