The Kellogg Company, maker of some of the country’s most familiar breakfast cereals, said on Thursday that it had agreed to drop the terms “all natural” and “nothing artificial” from some products in its Kashi line as part of a settlement agreement ending a class-action lawsuit.

Plaintiffs in the lawsuit, filed in 2011 in California, said the company used those terms on Kashi products that contained ingredients like pyridoxine hydrochloride, calcium pantothenate and soy oil processed using hexane, a component of gasoline.

Such ingredients occur naturally — wheat germ and flaxseed are sources of pyridoxine hydrochloride, for example — but food companies, as well as makers of vitamins, often use synthetic versions to control costs and ensure consistent supplies.

“We stand behind our advertising and labeling practices,” Kris Charles, a Kellogg spokeswoman, said in a statement. “We will comply with the terms of the settlement agreement by the end of the year and will continue to ensure our foods meet our high quality and nutrition standards while delivering the great taste people expect.”