Extract class from filter name (see 865016e)
Extract common abstract filter functionality