Add commands for flusing cache and stats