Added ability to add array of messages.