Adjust to the latest version of Reg; more and more tests are working.