Switch to use Node constructor that takes name as a parameter