Tweaked merge process.