Split off search engine builder into own method.