Python 3 fix as well as adding enable/disable instrumentation methods.