Added possibility to clear cache.