Make filters simple functions instead of classes.