Before 2003, Rule 23 of the Federal Rules of Civil Procedure provided that “ class action shall not be dismissed or compromised without the approval of the court, and notice of the proposed dismissal or compromise shall be given to all members of the clas