Removing useless counters.
Fixing disabled profiling.