Updating to use the correct Profiler instance.