(yuno) support setting type in message itself

Add type to message so you don't need to add a port JUST to set the type.