Infrastructure for filters.