Add a few comments to NodeFactory