Make the Select2 wrapper more generic.