Messing around with the code for caches.