Because (compared to the simplest list) we should avoid to have a same language mentioned several times here (doesn't mean anything and could lead to strange behaviours if not taken care of).

It's also convenient because at the place where it is used it spares me a "if lang in extra_languages", since this is automatically done by set.add