Avoid use of deprecated ctor of IRTreePrinter