Minor improvements to the parallel API.