Fixed context for merge method.