Updated the CacheService to more fully duplicate the Pool functionality and fix problems with the clear() function.