Improve smartparens configuration.