Added delete method to documents