General purpose node utilities