Fix primitive handling in code generation #472
Make sure that GenericExporter and APT based codegen are in sync