Forward port of IB/CMSSW_6_2_X/stable bits.