Added ability to add labels to nodes to the Kernel API