select2 refactors.