Again, this stuff could be moved to `compat` and then we can unconditionally import.