Profiler now returns profiler object