See my comments in that file, I was confused that it had to be a bonzo object passed it. It may be more sensible to convert the element to a bonzo object inside the module. Rather than expect people to pass one in.