Added getCache() method