                 
                 it("should pass query parameters specified in the route in the parameters dictionary") {
                     var param: String?
-                    router.map("routingexample://route") { (_, parameters, completed) in
+                    router.map("routingexample://route") { (_, parameters, _, completed) in
                         param = parameters["param"]
                         completed()
                     }

                }
                
                it("should continue processing proxies until a proxy to passes a route back") {
                    router.map("routingexample://route") { (_, parameters, completed) in completed() }
                    
                    var results = [String]()
                    router.proxy("routingexample://route") { (route, parameters, next) in
                        results.append("three")
                        next(nil, nil)
                    }
                    
                    router.proxy("routingexample://route") { (route, parameters, next) in
                        results.append("two")
                        next(route, nil)
                    }
                    
                    router.proxy("routingexample://route") { (route, parameters, next) in
                        results.append("one")
                        next(nil, nil)
                    }
                    
                    router.open(NSURL(string: "routingexample://route")!)

                
                it("should allow for modifying arguments passed in url") {
                    var argument: String?
                    router.map("routingexample://route/:argument") { (_, parameters, _, completed) in
                        argument = parameters["argument"]
                        completed()
                    }
                    
                    router.proxy("routingexample://route/:argument") { (route, parameters, data, next) -> Void in
                        var parameters = parameters
                        parameters["argument"] = "two"
                        next(route, parameters, data)
                    }
                    
                    router.open(NSURL(string: "routingexample://route/one")!)
