Making the search control agnostic of the messaging that populates it