Added customisable dmerge.