Convert integer to message-type
Facility to resolve messages to types