Add support for nodegroups in the publisher