Use GEPrimitiveType everywhere instead of stupid integer