Mattel has recalled tens of millions of Chinese-made toys in recent months because of what are described as design flaws and toxic levels of lead .