Add a profiler class