The Relation between Regulation and Class Actions