support type code for message.