s4:lib/messaging - fix up the python bindings