Only apply monkeypatches once