Break out materials code from machine code.