Keeping track of instrumented methods so that trying to instrument a method twice will throw an exception