New flexible filters subsystem, fixes #15