Corrected the cache object instantiation.