Adding Code to detect Primitive Arrays.