Modifying $._data by removing events

Modifying $._data by removing events

I am extending a plugin and have a problem. The initial plugin defines a 'click' event handler like this:

$(this.cssSelector.next).click(function(e) {
        e.preventDefault();
        self.next();
        self.blur(this);
});

I want to provide my own 'click' event handler instead of this one. However, as it doesn't have a namespace I have no way of just removing this handler without affecting the others on that element.

My own event click handler gets binded straight after this one in the next script, so I at the moment I am doing this:
$._data($(self.cssSelector.next)[0], "events").click.pop();

This works fine and removes the handler without removing other handlers elsewhere in other scripts however I read that this is an internal data structure and should not be modified.

Is this a bad way of doing things? If so how do I get around this?