Looks like it isn't called anymore, but by the wmap plugin, which in other hand is calling it just with mod, not target. So asking if this choose_payload is really needed still.