Some clean-up of the branch manipulation commands