Added macros to cache.c to set it up a bit