Branch selection.