method to alow subclassed pages to control the UI prepending.