Changed how SearchContextProviders are created and work.