That's okay — we can just pull out the declaration to the top level, and avoid using the array if we don't have any pathspecs.