Creating a standalone issue from a subset of #74 - [ ] setDocumentDelta - [ ] once this function exists, plumb delta through remaining functionality - [ ] tests
Creating a standalone issue from a subset of #74