Cleanup the messages.