Comment a few things
Set ottype per Document
Refactor EditableDocument
Fix tests