diff --git a/rawdisk/filesystems/detector.py b/rawdisk/filesystems/detector.py
index <HASH>..<HASH> 100644
--- a/rawdisk/filesystems/detector.py
+++ b/rawdisk/filesystems/detector.py
@@ -31,7 +31,7 @@ from rawdisk.util.singleton import Singleton
 
 class FilesystemDetector(object):
     __metaclass__ = Singleton
-    
+
     """A class that allows to match filesystem id or guid against available
     plugins.
 
@@ -45,6 +45,10 @@ class FilesystemDetector(object):
         # 2 dimensional array of fs_guid : [list of plugins]
         self.gpt_plugins = {}
 
+    def _clear_plugins(self):
+        self.mbr_plugins.clear()
+        self.gpt_plugins.clear()
+
     def add_mbr_plugin(self, fs_id, plugin):
         """Used in plugin's registration routine,
         to associate it's detection method with given filesystem id
Added _clear_plugins to detector for unit tests