   last_interesting_token
 
 collect_string_suggestions = (ctx, string) ->
-  Q.all(_.flatten _.map context.collect_extension_points(ctx, 'suggest_strings'), (fn) -> fn string)
+  Q.all(_.flatten _.map Context.collect_extension_points(ctx, 'suggest_strings'), (fn) -> fn string)
   .then (suggestions) -> _.flatten suggestions
 
 collect_key_suggestions = (ctx, string) ->
-  _.flatten _.map context.collect_extension_points(ctx, 'suggest_keys'), (fn) -> fn string
+  _.flatten _.map Context.collect_extension_points(ctx, 'suggest_keys'), (fn) -> fn string
 
 follow_path = (o, path) ->
   result = o

      CodeMirror.Pass

  save: (cm) ->
    notebook.save cm.lead_cell

key_map =
  Tab: (cm) ->

require 'codemirror/mode/coffeescript/coffeescript'
require 'codemirror/addon/hint/show-hint'

Context = require './context'
Notebook = require './notebook'

create_editor = (target) ->
  if is_nodejs?
