Remove the clearState operation from demo file.