Remove unnecessary tracebacks.