Add automatic merging.