Added parent class for restricted routes.