Not sure if this is worth doing without dropping support for Swift 5, would end up with a bunch of `#if` if it's even doable