Added MessageItem class