diff --git a/MeshLib/Node.h b/MeshLib/Node.h
index 07362e911ba23fc7b3f19defe81b977ad32222c9..740c05bb58959020ebbab69226da01ec9b900759 100644
--- a/MeshLib/Node.h
+++ b/MeshLib/Node.h
@@ -29,8 +29,9 @@ class Element;
  */
 class Node : public GeoLib::PointWithID
 {
-	/* friend functions: */
+	/* friend classes: */
 	friend class Mesh;//void Mesh::setElementInformationForNodes();
+	friend class MeshCoarsener;
 	//friend void Mesh::addElement(Element*);
 
 
@@ -63,6 +64,9 @@ protected:
 	 */
 	void addElement(Element* elem) { _elements.push_back(elem); };
 
+	/// Sets the ID of a node to the given value.
+	void setID(unsigned id) { this->_id = id; };
+
 	std::vector<Element*> _elements;
 
 }; /* class */