private ViewAndHistory createFullView(AnalyticsManager analytics) {
// Dependencies for the UI
AuthManager authManager = new AuthManager();
HistoryCache historyCache = new HistoryCache();
ServiceLoader serviceLoader = new ServiceLoader(ApiServiceFactory.INSTANCE);
SearchResultIndex searchIndex = new SearchResultIndex();
// Set up the keyword completion suggestion oracle.
KeywordCompletionSuggestOracle searchKeywords = new KeywordCompletionSuggestOracle();
searchIndex.setKeywordCallback(searchKeywords);
// Set up the URL routing and responder.
HistoryWrapper wrapper = new HistoryWrapperImpl();
URLManipulator manipulator = new URLManipulator(wrapper);
HistoryManager historyManager = new HistoryManager(wrapper,