Add a constructor to FolderItem.