Fixed typing issues with the new Array::truncate().