Implement message passing.