Remove trace_op.

It was only added for tests, and tests can be written without it.