Adding profiling.