Support returners in scheduler.

Closes #8367