Modified class PluginFilter