Minor cleanups and fleshes out initial methods needed for interacting with caches.