Add support for new primitives in the compiler.