Clean up typeahead stuff