Restricts certain paths