Using generics; making sure page format constants are not duplicated