Clean extension names.