         }
     }
     
+    /**
+     * Asycnhronously remove all the objects added to the cache before a given
+     * NSDate.
+     */
     public func trimBeforeDate(date: NSDate, completionHandler: CacheBlock?) {
         async { [weak self] in
             guard let strongSelf = self else { return }

        diskCache.removeAllObjects()
    }
    
    public subscript(index: String) -> NSCoding? {
        get {
            return objectForKey(index)

        }
    }
    
    /**
     * Asynchronously remove all objects from the cache.
     */
    public func removeAllObjects(completionHandler: CacheBlock?) {
        async { [weak self] in
            guard let strongSelf = self else { return }
