Added the code of the new caches.