Don't crash if name is undefined.