Added some functions to PageMapper.