Update to allow arrays of paths.