Removed unneeded variables from cache.