Added support for hidden pages