Added a secondary constructor to BasePage, accepting PageParameters.