But it has been criticized widely as a method of voter suppression.