         finish?(error: error)
     }
 
-    public func URLSession(session: NSURLSession, didBecomeInvalidWithError error: NSError?) {
+    internal func URLSession(session: NSURLSession, didBecomeInvalidWithError error: NSError?) {
 
         if let error = error {
             finishLoading(error)
         }
     }
 
-    public func URLSession(
+    internal func URLSession(
         session : NSURLSession!,
         dataTask: NSURLSessionDataTask!,
         didReceiveResponse response: NSURLResponse,


        let configuration = NSURLSessionConfiguration.defaultSessionConfiguration()

        configuration.timeoutIntervalForResource = 120.0 //TODO move to params

        let queue = NSOperationQueue.currentQueue()


        finishLoading(error)
    }

    internal func URLSession(
        session: NSURLSession,
        task: NSURLSessionTask,
        didSendBodyData bytesSent: Int64,
