Fix: Since we are returning a Document, then it should be duid instead
of uid.