Srimad Bhagavatam Canto 10, Chapter 40, Text 05

SB 10.40.5

trayya ca vidyaya kecit
 tvam vai vaitanika dvijah
yajante vitatair yajñair
 nana-rupamarakhyaya
 
Translation: 
 
Brahmanas who follow the regulations concerning the three sacred fires worship You by chanting mantras from the three Vedas and performing elaborate fire sacrifices for the various demigods, who have many forms and names.
 
Purport: 
 
Akrura has now described how those who follow the paths of Sankhya, yoga and the three Vedas worship the Supreme Lord in different ways. In the various places where the Vedas appear to recommend that one worship Indra, Varuna and other demigods, these demigods are stated to be supreme. But at the same time the Vedas state that there is one supreme controller, the Absolute Truth. That is Sri Krsna, the Personality of Godhead, who expands His potency through material creation into the forms of the demigods. Thus worship of the demigods goes to Him through the indirect method of karma-kanda, or fruitive religious rituals. Ultimately, however, one who wants to achieve eternal perfection should worship the Lord directly, in full Krsna consciousness.
Srimad Bhagavatam Canto 10, Chapter 40, Text 04
Srimad Bhagavatam Canto 10, Chapter 40, Text 06