     // restoreUserActivityState on all objects.
     @available(iOS 8.0, *)
     public func application(_ application: UIApplication, continue userActivity: NSUserActivity, restorationHandler: @escaping ([Any]?) -> Swift.Void) -> Bool {
-        var result = false
-        
-        for service in __services {
-            if service.application?(application, continue: userActivity, restorationHandler: restorationHandler) == true {
-                result = false
-            }
-        }
-        
-        return result
+        return __services.reduce(false) { (previous, service) -> Bool in
+            previous || (service.application?(application, continue: userActivity, restorationHandler: restorationHandler) ?? false)
+        }
     }
     
     

    
    @available(iOS 2.0, *)
    public func applicationDidFinishLaunching(_ application: UIApplication) {
        for service in __services {
            service.applicationDidFinishLaunching?(application)
        }
    }
    
    
    @available(iOS 6.0, *)
    public func application(_ application: UIApplication, willFinishLaunchingWithOptions launchOptions: [UIApplicationLaunchOptionsKey : Any]? = nil) -> Bool {
        var result = true
        
        for service in __services {
            if let serviceResult = service.application?(application, willFinishLaunchingWithOptions: launchOptions) {
                if serviceResult == false {
                    result = false
                }
            }
        }
        
        return result
    }
    
    @available(iOS 3.0, *)
    public func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplicationLaunchOptionsKey : Any]? = nil) -> Bool {
        var result = true
        
        for service in __services {
            if let serviceResult = service.application?(application, didFinishLaunchingWithOptions: launchOptions) {
                if serviceResult == false {
                    result = false
                }
            }
        }
        
        return result
    }
    
    

    // or application:didFailToContinueUserActivityWithType:error: if an error was encountered.
    @available(iOS 8.0, *)
    public func application(_ application: UIApplication, willContinueUserActivityWithType userActivityType: String) -> Bool {
        return __services.reduce(false) { (previous, service) -> Bool in
            previous || (service.application?(application, willContinueUserActivityWithType: userActivityType) ?? false)
        }
    }
    
    
