This essentially does the same thing underneath the hood but the API is less painful to use, and it makes more sense in this use case.
These things currently require manual testing unfortunately since writing a nix stub would take a long time.