Added clear cache method