Allocate codes for the datatype messages.