Use _.debounce to simplify syntax checking.
Remove some methods on Editor.