Also remove unnecessary function to set a node type's label function that duplicated its definition, and make another function static.
Also remove unnecessary function to set a node type's label function that duplicated its definition, and make another function static.