Add search method.