Put in some debugging code for looking at what functions have been added to the rooted event handler.