public addDocument(key as Object, title as Object, view as Object) as Void:
Adds a document/view entry. Form: addDocument(key, title, view)