Add trace and profiler.