Factoring out CbPasteRunner