Encapsulate Branch logic.