Removed old profiling code