 # Determines the text conversion method to use when displaying bindings.
 convertCase = _.capitalize
 
-# Generates a compiled template function.
+# Generates a compiled template function for rendering bindings.
 renderBinding =
   _.template '<% _.forEach(keys, function (key) { %><span><%= key %></span><% }) %>'
 

    destroyHandler = =>
      @off EventType.Facade.CHANGED, changeHandler
      @off EventType.Facade.DUP, dupHandler
      @off 'click', clickHandler
      toggle.off  'click', toggleClickHandler
      _.each EventType.Item, (type) =>
        @off type, @_handlers[type]
        @_handlers[type] = null
      @_handlers = null

    # Add handlers for dom events.
    @on 'click', clickHandler
    toggle.on 'click', toggleClickHandler

    # Add handlers for facade events.
    @on EventType.Facade.CHANGED, changeHandler

    @_dup = options.dup
    delete options.dup

    super _.extend cssClass: CLASS_NAME, options

    if @_dup then @setClass DUP_CLASS_NAME

