Support for stripping off branch.