Support custom page type in the new frontend controller.