if plugin not in self.supportedPlugin:

this is fairly nasty...