Add abstract filter generator for filters that take no arguments