Restrict auto generated routes