[EventDispatcher] Moves the logic of addSubscriberService to the compiler pass