Path::Node: make type an int not a string