Patches to CMSSW code