Removed unneeded cacheState flag.