Updates to regression code.