See the last post in [FR] createPluginFilter (bool)
Thank you Rail, that was really interesting and helpful.