Added method to clear cache