      - parameter forced: If true forces main load
      - parameter completion: Closure called when operation finished
      */
-    private func loadInner(completion completion: LoadResultClosure) {
+    private func loadRawInner(completion completion: LoadRawResultClosure) {
         urlRequestClosure() { (result) -> Void in
             switch result {
             case .Failure(let error):


import Foundation

let session = NSURLSession(configuration: NSURLSessionConfiguration.defaultSessionConfiguration(), delegate: nil, delegateQueue: NSOperationQueue.mainQueue())

public class WebLoadAction<T>: LoadAction<T> {
    
    public typealias UrlRequestResultType    = Result<NSURLRequest, ErrorType>
    public typealias UrlRequestResultClosure = (result: UrlRequestResultType) -> Void
    public typealias UrlRequestResult        = (completion: UrlRequestResultClosure) -> Void
    
    public typealias ProcessDataResultType    = Result<T, ErrorType>
    public typealias ProcessDataResultClosure = (result: ProcessDataResultType) -> Void
    public typealias ProcessDataResult        = (loadedData: NSData, completion: ProcessDataResultClosure) -> Void
    
    public var urlRequestClosure:  UrlRequestResult
    public var processDataClosure: ProcessDataResult?
    
    /**
     Loads data giving the option of paging or loading new.

                        completion(result: .Failure(error))
                        return
                    }
                    completion(result: .Success(loadedData))
                }).resume()
            }
        }
    }
    
