Fix template parameter.
Add make_work function.