Declare ns inside the node.