diff --git a/src/DataTree.hh b/src/DataTree.hh
index 57800d855a8faa0abb24abe66e6e22d824aba875..afcc34ded3a36e64ce5fa756dbd28dbd7872f27f 100644
--- a/src/DataTree.hh
+++ b/src/DataTree.hh
@@ -304,10 +304,8 @@ public:
   //! Raised when a trend is declared twice
   class TrendException : public std::exception
   {
-  private: 
-    const string name;
-
   public:
+    const string name;
     TrendException(string name_arg) : name(name_arg) {}
   };
 
diff --git a/src/SymbolTable.hh b/src/SymbolTable.hh
index 7adbca7fe6b692ceeb1944ccaa5cc3b71ae85d9b..83476e55cd4fbd3667bf9693698cfa24ea20c7d3 100644
--- a/src/SymbolTable.hh
+++ b/src/SymbolTable.hh
@@ -198,13 +198,11 @@ public:
   //! Thrown when trying to declare a symbol twice
   class AlreadyDeclaredException : public std::exception
   {
-  private: 
-    //! Symbol name
-    const string name;
+  public: 
     //! Was the previous declaration done with the same symbol type ?
     const bool same_type;
-
-  public:
+    //! Symbol name
+    const string name;
     AlreadyDeclaredException(string name_arg, bool same_type_arg) : name(name_arg),
 								    same_type(same_type_arg)
     {