Is there some magic going on here? or would this be just as valid:

```python
filter = SerializableFunction(default_case_filter)
```