     /// - Note: **BETA API** This API is subject to change.
     public static func serve(xmlString xmlString: String,
        type: PresentationType = .Default, redirectWindow: UIWindow,
-       didRedirectToWindow: (UIWindow -> ())? = nil)
+       didRedirectToWindow: (() -> ())? = nil)
     {
         Kitchen._navigationControllerDelegateWillShowCount = 0
         Kitchen.navigationController.setViewControllers([UIViewController()], animated: true)

        }
        if viewController == Kitchen.navigationController.viewControllers[0] {
            Kitchen.redirectWindow?.makeKeyAndVisible()
            if let redirectWindow = Kitchen.redirectWindow {
                Kitchen.didRedirectToWindow?(redirectWindow)
                Kitchen.didRedirectToWindow = nil
            }
        }

    /// - Note: **BETA API** This API is subject to change.
    public static func serve(urlString urlString: String,
       type: PresentationType = .Default, redirectWindow: UIWindow,
       didRedirectToWindow: (() -> ())? = nil)
    {
        Kitchen._navigationControllerDelegateWillShowCount = 0
        Kitchen.navigationController.setViewControllers([UIViewController()], animated: true)
