support for page_factory