pages -> documents
pages -> documents
Split PageGenerator into Page and Document generators