Replace Cfitlers with pure Python filter.