Added document delete method