Merge functionality.