Added in the clear function to remove items from the cache.