Issue #2395161 by mwisner: hosting_add_task does not set node language
Code cleanup