moved Truncator to TrateExtensions