Add merge method to MR API