Fixed instrumentation of methods with modifiers.