Python: Python: monkeyPatch methods