Completed implementation of branch calls.