I'm not sure a lambda should live here.
Why not default None and then:

```Python
if properties is None:
    properties=lambda key: None
```