Sorry, my mistake. I should have written
```
self._hubble_distance = (const.c / self._H0).to(u.Mpc)
```
which should then work, and you can still remove `c_kms`.