added to dispatch: nodes, node, toFunction.