I'm not convinced by this. We should duplicate this kind of code.