add editableDocument method