Edit to allow root paths to use original handling.