Added the funcitons that are called for cache access.