Added the option to add a prefix when merging.