                 }
                 else // Execution should never reach this point
                 {
-                    strongSelf.videos.removeValueForKey(uri)
+                    strongSelf.videos.removeValue(forKey: uri)
                 }
             })
         }

        NotificationCenter.default.removeObserver(self, name: NSNotification.Name.AFNetworkingReachabilityDidChange, object: nil)
    }
    
    func applicationWillEnterForeground(_ notification: Notification)
    {
        self.operationQueue.isSuspended = false 
    }
    
    func applicationDidEnterBackground(_ notification: Notification)
    {
        self.operationQueue.isSuspended = true
    }
    
    func reachabilityDidChange(_ notification: Notification?)
    {
        let currentlyReachable = AFNetworkReachabilityManager.shared().isReachable
        

                    return
                }
                
                if operation.isCancelled == true
                {
                    return
                }
