       events = utils.split events
 #endif
       onevent elements, events, match, handler
-      return
 
     # onDocument() is used to add an event handler to the document object; this is used
     # for global (or default) handlers.
+    # Returns a function of no parameters that removes any added handlers.
     onDocument: (events, match, handler) ->
       exports.on document, events, match, handler
 

  # Event handlers may return false to stop event propogation; this prevents an event from bubbling up, and
  # prevents any browser default behavior from triggering.  This is often easier than accepting the `EventWrapper`
  # object as the first parameter and invoking `stop()`.

  onevent = (jqueryObject, eventNames, match, handler) ->
    throw new Error "No event handler was provided." unless handler?


        return

      eventHandlers = []

      for element in elements
        for eventName in eventNames
          eventHandlers.push (Event.on element, eventName, match, wrapped)

      # Return a function to remove the handler(s)
      ->
        for eventHandler in eventHandlers
          eventHandler.stop()
#endif

  # Wraps a DOM element, providing some common behaviors.
