 
 public enum StructTarget: TargetType {
     case Struct(TargetType)
-
+    
     public init(_ target: TargetType) {
         self = StructTarget.Struct(target)
     }
-
+    
     public var path: String {
         return target.path
     }
-
+    
     public var baseURL: NSURL {
         return target.baseURL
     }
-
+    
     public var method: Moya.Method {
         return target.method
     }
-
+    
     public var parameters: [String: AnyObject]? {
         return target.parameters
     }
-
+    
     public var sampleData: NSData {
         return target.sampleData
     }
-
+    
     public var target: TargetType {
         switch self {
         case .Struct(let t): return t

        return Endpoint(URL: url, sampleResponseClosure: {.NetworkResponse(200, target.sampleData)}, method: target.method, parameters: target.parameters)
    }
    
    public final class func DefaultRequestMapping(endpoint: Endpoint<Target>, closure: NSURLRequest -> Void) {
        return closure(endpoint.urlRequest)
    }

    public final class func DefaultAlamofireManager() -> Manager {
        let configuration = NSURLSessionConfiguration.defaultSessionConfiguration()
        configuration.HTTPAdditionalHeaders = Manager.defaultHTTPHeaders

        let manager = Manager(configuration: configuration)
        manager.startRequestsImmediately = false
        return manager

                objc_sync_exit(self)
            }
        }
        
        
        let performNetworking = { (requestResult: Result<NSURLRequest, NSError>) in
            guard case .Success(let request) = requestResult
                where !cancellableToken.isCancelled else { return }
            
            switch stubBehavior {
            case .Never:
