Add multiprocessing support.