Seems like monkeypatching class methods doesn't work