Add functionality to produce multiple messages in a single call