Make ThresholdTruncator injectable