Remove unnecessary use of paths.