Allow token to be undef, as that will make no difference.