Adding custom truncation