Removes profiling for cors.
Proxy all profiler calls so there is no need to keep checking for profiler existence.