added codegen for built in type kinds