Added MessageType enum, more comments