Dry up parallelization logic.
Parallel.py refactoring.