Typeahead infra