Refactored parallel API.