Why are these moving from Editor to Editor.prototype? We'd have to look at the backwards compatibility implications of this.