I think we can probably kill the `_detect_os()` function as well.