Selecting the message payload schema from the type tree.