Fixing compile errors in ParamsAlgNew.