Add target attribute to torchvision.datasets.inaturalist

Hi everyone,
I have a code implemented for CIFAR10/CIFAR100 built-in datasets.
I want now to extend it for INaturalist dataset, which is also a pytorch built-in dataset.
The latter however misses the attribute dataset.targets
As I want to adapt the rest of the code to the new dataset option, is it possible to add the targets attribute to the INaturalist dataset before defining the dataloader?