             @boundFuncs.push base
             func.bound = no
       assign
+    compact exprs
 
   # Walk the body of the class, looking for prototype properties to be converted.
   walkBody: (name) ->

  # on the class.
  addProperties: (node, name) ->
    props = node.base.properties.slice 0
    while assign = props.shift()
      if assign instanceof Assign
        base = assign.variable.base
        delete assign.context

    @setContext name
    @walkBody name
    @ensureConstructor name
    @body.expressions.unshift @ctor unless @ctor instanceof Code
    if @parent
      extension = new Extends lname, @parent
      if @ctor instanceof Code
        @body.expressions.unshift extension
      else
        @body.expressions.splice 1, 0, extension
    @body.expressions.push lname
    @addBoundFunctions o

