Added support for root pages