Add clear function.

Clear function will clearing all the loaded data.