Generic support for filters applied in context