Updates to documentation of Document and Name classes