adds methods to wrap accessing the caches