added a setter for BatchValidator in GroupedValidator