Added the search abstract method.