Several U.S. Supreme Court justices on Wednesday made clear their disdain for a rare type of class action settlement that critics say provides funds mainly to third parties and class counsel, but not to class members.

“How can you say this makes any sense?” Justice Samuel Alito Jr. asked at one point during the oral argument in Frank v. Gaos. “At the end of the day, what happens? The attorneys get money, and a lot of it. The class members get no money whatsoever.”