Generalize parallel task distribution.
More documentation on training.