Refactored BasePage to implement ISearchContext