Added the ->delete() function for single document removal