Change the parameter of public APIs (loadBranch & unloadBranch)

Change the 2 functions to accept _node id_ instead of _node_ object, to be consistent with other APIs.