Don't unnecessarily remove and add branches.