Added support for bulk adding nodes