Move node names to constructor. Remove foo, bar spflags. Add a this->