Move set_return_value/set_data() into Task, where they're a bit more con...

...venient.

More along the #801 / #802 path.