IntentHandler for project that contains both Siri & Widget

I added Siri to my project and used IntentHandler to handle Siri's intents.
I then added Widget to my project so needed to handle its intents also.

I extended my IntentHandler's handler function to handle also Widget intents and it works, however I don't understand where in my xcode project the Widget is configured to use the same IntentHandler, and I even see that this file is not included in Widget target so don't understand how it works.

Didn't find anywhere in documentation an explanation on how to configure which intent handler will handle intents, and specifically if it's possible to define multiple IntentHandler instances, one to handle Siri's intent and another one to handle Widget's intents, and if yes how to do so.

IntentHandler for project that contains both Siri & Widget
 
 
Q