Added a basic page type system