Add merge method.