Moved the page type creation to pipeline handlers