implement NodeLabelsSpec and PropertiesSpec