Refactoring umbraco.BasePages.BasePage class