add support for documenting generic filtering