Added capability to clear data.