Adding clearCache functions