     preloadData: true,
 
     # Execute functions in bindings. Defaultis false since rivets 0.9. Set to true to be backward compatible with rivets 0.8.
-    executeFunctions: false,
+    executeFunctions: true,
 
     # Alias for index in rv-each binder
     iterationAlias : (modelName) ->


    # Default event handler.
    handler: (context, ev, binding) ->
      @call context, ev, binding.view.models

    # Merges an object literal into the corresponding global options.
    configure: (options = {}) ->
      for option, value of options
        if option in ['binders', 'components', 'formatters', 'adapters']
          for key, descriptor of value
            Rivets[option][key] = descriptor
        else
          Rivets.public[option] = value

      return

    # Binds some data to a template / element. Returns a Rivets.View instance.
    bind: (el, models = {}, options = {}) ->
      view = new Rivets.View(el, models, options)
      view.bind()
      view

    # Initializes a new instance of a component on the specified element and
    # returns a Rivets.View instance.
    init: (component, el, data = {}) ->
      el ?= document.createElement 'div'
      component = Rivets.public.components[component]
      template = component.template.call @, el
      if template instanceof HTMLElement
        while el.firstChild
          el.removeChild(el.firstChild)
        el.appendChild(template)
      else
        el.innerHTML = template
      scope = component.initialize.call @, el, data

      view = new Rivets.View(el, scope)
      view.bind()
      view

    adapters: {}

    # Default attribute prefix.
    prefix: 'cb'

    # Default template delimiters.
    templateDelimiters: [ '{', '}' ]

    # Default sightglass root interface.
    rootInterface: '.'
