Add a `auto_select_target` or `determine_target` method that can automatically select the target based on the detected version of the service.