Remove joinPaths dependency.