Remove tools.trace dependency.