Allow message types to be infered