diff --git a/Modules/Wrappers/SWIG/src/otbApplication.i b/Modules/Wrappers/SWIG/src/otbApplication.i
index 8444bc84e9ec56946ee3c1f4f078cc2a881b2508..5f24af0f532f4504092803b9d43c2b7ecfa9fa9a 100644
--- a/Modules/Wrappers/SWIG/src/otbApplication.i
+++ b/Modules/Wrappers/SWIG/src/otbApplication.i
@@ -838,6 +838,7 @@ public:
   static Application_Pointer CreateApplication(const std::string& name);
   static void AddApplicationPath(std::string newpath);
   static void SetApplicationPath(std::string newpath);
+  static void CleanRegistry();
 
 protected:
   Registry();