Add MessageInfo class (still needs a ton of work).