addNode: Check if name exists first.