added the possibility to easily add and remove methods from the merge process