Delegate for prepping of autocomplete