Merged data merge code.