Add searchPages() method