 
 class SwiftRoute: Equatable {
     private let routePattern: NSURL
-    private var handler: RouteHandler
+    private var handler: SwiftRoutesHandler
     private var priority: Int
     
-    init(pattern: NSURL, priority: Int, handler: RouteHandler) {
+    init(pattern: NSURL, priority: Int, handler: SwiftRoutesHandler) {
         self.routePattern = pattern
         self.priority = priority
         self.handler = handler

        return SwiftRoutes.routesForScheme(globalScheme)
    }
    
    public func addRoute(routePattern: NSURL, priority: Int, handler: RouteHandler) {
        let route = SwiftRoute(pattern: routePattern, priority: priority, handler: handler)
        routes.append(route)
    }

        self.scheme = scheme
    }
    
    public class func addRoute(routePattern: NSURL, handler: SwiftRoutesHandler) {
        if routePattern.scheme.characters.count > 0 {
            SwiftRoutes.routesForScheme(routePattern.scheme).addRoute(routePattern, priority: 0, handler: handler)
        } else {
