Remove direct calls to EditSession from outside editor.js.