Adjusted function visibility within the cache class.