Added a means of adding the generated messages.