Added enum MessageType