Remove unneeded profiling code.