Fix up typeahead.