Removed unused debugging/profiling code.