This function is called once, and in that one call `wrapper` is passed in explicitly as `None`. Seemed confusing, unused, and unnecessary so I removed it.