Added ability to parse multiple messages at once