Documentation updates

Docs updated for ontology, xref, lookup and archive. Code changes on ontology due to bad spelling of descendant.