Applies the instrumentation to client code.