Make Element.set_name() accept empty strings.