code: function(routes, callback) {
      var newRoutes = {};
  
      // Add a route.
      newRoutes['/test'] = {
        callback: function(request, response) {
          response.send('Testing!');
        }
      };
  
      // Add another route.
      newRoutes['/test-altering'] = {
        callback: function(request, response) {
          response.send('Testing!');
        }
      };
  
      callback(null, newRoutes);
    }
docs: The route() hook.