Add adapter and profiler.