Bug: correct argument signature for set_do_onload