Replacing the removed but still needed $consoletools.