Changed lifecycle of search to be singleton.