Add truncate method