add another target hook for branch folding.