Added MessageData class