Switched away from templates through only allowing void return from the
task function given to a named_task.