Patch for assigning builtin type to array element.