Add message passing to task.