Add the basic search function.