Should this maybe be a parameter? I would set it to `lambda x: x` if the parameter is `None` -- it documents a bit what the signature is supposed to be and saves some checks later.