Making the retrieval of the cache store class a method, also wrote
comments for the expand_cache_key method.