Type safety for mapping page