Add method to unify all exit nodes of a method