Nicer invoke instrumentation code