Moved responsibility for calling build() to the place where node
collections are set.