Added support for tentpole page type using array of possible page hooks.