diff --git a/include/hpp/manipulation/graph/graph.hh b/include/hpp/manipulation/graph/graph.hh
index 1ad69b756b1fa53512b52e86cbc1759117fc34ad..6f3a1804fed00a59599220ffa83eebe397a2a2ea 100644
--- a/include/hpp/manipulation/graph/graph.hh
+++ b/include/hpp/manipulation/graph/graph.hh
@@ -75,32 +75,20 @@ namespace hpp {
           std::ostream& print (std::ostream& os) const;
 
           /// Set maximal number of iterations
-          void maxIterations (size_type iterations)
-          {
-            maxIterations_ = iterations;
-          }
+          void maxIterations (size_type iterations);
+
           /// Get maximal number of iterations in config projector
-          size_type maxIterations () const
-          {
-            return maxIterations_;
-          }
+          size_type maxIterations () const;
 
           /// Set error threshold
-          void errorThreshold (const value_type& threshold)
-          {
-            errorThreshold_ = threshold;
-          }
+          void errorThreshold (const value_type& threshold);
+
           /// Get errorimal number of threshold in config projector
-          value_type errorThreshold () const
-          {
-            return errorThreshold_;
-          }
+          value_type errorThreshold () const;
 
           /// Get the robot.
-          const RobotPtr_t& robot () const
-          {
-            return robot_;
-          }
+          const RobotPtr_t& robot () const;
+
         protected:
           /// Initialization of the object.
           void init (const GraphWkPtr_t& weak, RobotPtr_t robot);
diff --git a/src/graph/graph.cc b/src/graph/graph.cc
index 570035e506579ec25a14ed45dfcb1e970512e344..4cbc0c42d44c78b48cac1c854e10dd3abc94530d 100644
--- a/src/graph/graph.cc
+++ b/src/graph/graph.cc
@@ -48,6 +48,31 @@ namespace hpp {
         return newNodeSelector;
       }
 
+      void Graph::maxIterations (size_type iterations)
+      {
+        maxIterations_ = iterations;
+      }
+
+      size_type Graph::maxIterations () const
+      {
+        return maxIterations_;
+      }
+
+      void Graph::errorThreshold (const value_type& threshold)
+      {
+        errorThreshold_ = threshold;
+      }
+
+      value_type Graph::errorThreshold () const
+      {
+        return errorThreshold_;
+      }
+
+      const RobotPtr_t& Graph::robot () const
+      {
+        return robot_;
+      }
+
       Nodes_t Graph::getNode(const Configuration_t config)
       {
         Nodes_t nodes;