Deal with refrence to array type in the wrapper call. (ROOT-6236).