The function setNode() does not document a return value, but it seems that the return value must be the updated network object. [Is this as simple as it seems – just updating the documentation?]
There are also a few spots where it seems that the documentation is still in progress e.g. fitterArgs for setNode() has the description "This does not yet have any effect as I haven't yet decided out where to store this and how to implement the fitting.” [Remove this?]
review all documentation for such comments