Making sure non-api calls are not restricted.