Make elasticsearch_cache work again.