Changed useBranch call to use const reference to speed up calls