     #   will invoke the handler.
     # * handler - function invoked; the function is passed an `EventWrapper` object, and the
     #   context (`this`) is the `ElementWrapper` for the matched element.
+    #
+    # Returns a function of no parameters that removes any added handlers.
     on: (events, match, handler) ->
       exports.on @element, events, match, handler
       return this

    #   will invoke the handler.
    # * handler - function invoked; the function is passed an `EventWrapper` object, and the context (`this`)
    #   is the `ElementWrapper` for the matched element
    on: (selector, events, match, handler) ->
      unless handler?
        handler = match

      events = utils.split events
#endif
      onevent elements, events, match, handler

    # 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

