Add utility to strip traces.