Remove unnecessary ResrictLocations check
Change to using PascalCase as per the style guidelines