Restricting auto generated routes.