public function slugs(array $basenames): array
    {
        $slugs = []; // Initialize.

        foreach ($basenames as $_basename) {
            if (($_slug = $this->slug((string) $_basename))) {
                $slugs[$_basename] = $_slug;
            }
        } // unset($_basename); // Housekeeping.

        return $slugs;
    }