Ensure that global state can't screw us.