Refactored signature removing to more generic node removal method.