Unfortunately the add method is already subscribed by an internal YUI function.
This is a bit irritating. Anyway, your branch seems to work with a diff like the following:
http://pastebin.ubuntu.com/7415532/

I'll try to include this workaround in my current branch, and see what reviewers think about this.