1. Replace uses of pref service with pref branch.
2. Initialize search service asynchronously.