fix for BasePage prototype being ignored