Added subgenerator for pages