Add producer and consumer.