Restrict auto-generated routes.