Removed unneeded array length parameters.