Cleanup fns in trace-summary