Code cleanup. Testing typeahead loading.