Fixed method getPlants