Adding methods to get cache params for a given type or for a given cache instance.