Cleaning up autocomplete.