Maybe you are confusing values returned from interfaces with serial type codes used in the internal record format.