'Return the :term:`routes mapper` object associated with
this configurator\'s :term:`registry`.'

def get_routes_mapper(self):

    mapper = self.registry.queryUtility(IRoutesMapper)
    if (mapper is None):
        mapper = RoutesMapper()
        self.registry.registerUtility(mapper, IRoutesMapper)
    return mapper
