rename 'Filter' type to 'FilterFunc'