     
     // MARK: Alerts
     
-    private func presentRefreshErrorAlert(_ error: NSError)
+    private func presentRefreshErrorAlert(with error: NSError)
     {
         let alert = UIAlertController(title: "Refresh Error", message: error.localizedDescription, preferredStyle: UIAlertControllerStyle.alert)
         alert.addAction(UIAlertAction(title: "Ok", style: UIAlertActionStyle.default, handler: nil))

                    
                    if let error = error
                    {
                        strongSelf.presentRefreshErrorAlert(error)
                    }
                    else
                    {

    
    // MARK: Private API
    
    private func retry(uploadDescriptor descriptor: UploadDescriptor, completion: ErrorBlock)
    {
        // TODO: This should be cancellable

