Remove internal numbering of array types: use np.dtype.num codes directly
Ignore duplicate arguments from e.g. internal procedures