Construct |Task|s instead of calloc'ing them.

Heading for #613.