Added MessagePayload class