page types (WIP)

fixes #2789