Add 'merge' method.