Is specifying the template parameter necessary? I think `paths` is already an array once inside the body of the function, so the call should resolve correctly without it?