Enum support in netmessage