Add CachedResource.$clear() method