Fleshing out the message parsing