Finishing the profiler API