Monkey Patches for code introspection