I meant:
```
def get_preference(cls, user, preference_key, default=None):
```