Small changes to merger.