Unfortunately SimpleFilter is an abstract class and not a type alias. Thus any filter would have to be a SimpleFilter. I don't want to make that restriction.