Add support for instrumentation.