diff --git a/tutorial/ex2/mylocalresidual.hh b/tutorial/ex2/mylocalresidual.hh
index 6e9b0c6790065db35ca57d41c1ce715bd8859a08..036a341e5c73e3e5479da5a5792aef208010ed8b 100644
--- a/tutorial/ex2/mylocalresidual.hh
+++ b/tutorial/ex2/mylocalresidual.hh
@@ -25,8 +25,10 @@
 #ifndef DUMUX_MY_COMPOSITIONAL_LOCAL_RESIDUAL_HH
 #define DUMUX_MY_COMPOSITIONAL_LOCAL_RESIDUAL_HH
 
-namespace Dumux
-{
+#include <dumux/common/properties.hh>
+
+namespace Dumux {
+
 /*!
  * \ingroup Implicit
  * \ingroup ImplicitLocalResidual
diff --git a/tutorial/solution/ex2/mylocalresidual.hh b/tutorial/solution/ex2/mylocalresidual.hh
index c4f6ff4060743f6580bcbb196cba8642de92228b..0cede53f48d317af3075c0e77881a7ca0ec794d7 100644
--- a/tutorial/solution/ex2/mylocalresidual.hh
+++ b/tutorial/solution/ex2/mylocalresidual.hh
@@ -25,6 +25,9 @@
 #ifndef DUMUX_MY_COMPOSITIONAL_LOCAL_RESIDUAL_HH
 #define DUMUX_MY_COMPOSITIONAL_LOCAL_RESIDUAL_HH
 
+#include <dumux/common/properties.hh>
+#include <dumux/common/parameters.hh>
+
 namespace Dumux
 {
 /*!