Simple code instrumentation utilities