Autocompletion improvements.