Registered switch_branch task.