If the delete method is called, clear out this.data