Added 'getmerge' functionality.