diff --git a/Example/otbAddition.cxx b/Example/otbAddition.cxx
index 104a0a2e22a08a91cd4f8d67db52b187a69c18b6..592502a5e87818fb6b93d1b588da21f2ba0783fc 100644
--- a/Example/otbAddition.cxx
+++ b/Example/otbAddition.cxx
@@ -17,7 +17,6 @@
  =========================================================================*/
 #include "otbWrapperApplication.h"
 #include "otbWrapperApplicationFactory.h"
-#include "otbWrapperNumericalParameter.h"
 
 namespace otb
 {
@@ -36,9 +35,9 @@ public:
   /** Standard macro */
   itkNewMacro(Self);
 
-  itkTypeMacro(Self, otb::Application);
+  itkTypeMacro(Addition, otb::Application);
 
-protected:
+private:
   Addition()
   {
     this->SetName("Addition");
@@ -49,7 +48,6 @@ protected:
   {
   }
 
-private:
   void DoCreateParameters()
   {
     std::cout << "Addition::DoCreateParameters" << std::endl;
@@ -62,7 +60,6 @@ private:
     std::cout << "Addition::DoUpdateParameters" << std::endl;
   }
 
-
   void DoExecute()
   {
     std::cout << "Addition::DoExecute" << std::endl;
diff --git a/Example/otbSmoothing.cxx b/Example/otbSmoothing.cxx
index 30b25c33f57930028e848030f0956cec1cec9738..e7f7eed55eb3d13bab67b864092332f409680f66 100644
--- a/Example/otbSmoothing.cxx
+++ b/Example/otbSmoothing.cxx
@@ -17,7 +17,6 @@
  =========================================================================*/
 #include "otbWrapperApplication.h"
 #include "otbWrapperApplicationFactory.h"
-#include "otbWrapperNumericalParameter.h"
 
 #include "itkMeanImageFilter.h"
 #include "itkDiscreteGaussianImageFilter.h"
@@ -25,8 +24,6 @@
 //#include "itkCurvatureAnisotropicDiffusionImageFilter.h"
 #include "otbPerBandVectorImageFilter.h"
 
-#include "itkVersion.h"
-
 namespace otb
 {
 namespace Wrapper
@@ -53,9 +50,9 @@ public:
   /** Standard macro */
   itkNewMacro(Self);
 
-  itkTypeMacro(Self, otb::Application);
+  itkTypeMacro(Smoothing, otb::Application);
 
-protected:
+private:
   Smoothing()
   {
     this->SetName("Smoothing");
@@ -67,6 +64,7 @@ protected:
     std::cout << "~Smoothing" << std::endl;
   }
 
+
   void DoCreateParameters()
   {
     AddParameter(ParameterType_InputImage,  "in",   "Input Image");
@@ -159,7 +157,7 @@ protected:
         break;
       }
   }
-private:
+
   itk::LightObject::Pointer m_FilterRef;
 };