Added command profiling.