Remove some instrumentation code.