     private static let sharedKitchen = Kitchen()
     private static weak var redirectWindow: UIWindow?
     private static var _navigationControllerDelegateWillShowCount = 0
-    private static var didRedirectToWindow: (UIWindow -> ())?
+    private static var didRedirectToWindow: (() -> ())?
 
     private var evaluateAppJavaScriptInContext: JavaScriptEvaluationHandler?
 

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

    /// - 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)
