Fix reference to removed truncate() function