Not just to reduce weight.

From ScienceDaily:
This new study reveals that keratinous beaks played an important role in stabilizing the skeletal structure during feeding, making the skull less susceptible to bending and deformation.
Lead author Dr Stephan Lautenschlager of Bristol’s School of Earth Sciences said: “It has classically been assumed that beaks evolved to replace teeth and thus save weight, as a requirement for the evolution of flight. Our results, however, indicate that keratin beaks were in fact beneficial to enhance the stability of the skull during biting and feeding.”
Also:
Co-author Lawrence Witmer, Chang Professor of Paleontology at the Ohio University Heritage College of Osteopathic Medicine said: “Beaks evolved several times during the transitions from dinosaurs to modern birds, usually accompanied by the partial or complete loss of teeth and our study now shows that keratin-covered beaks represent a functional innovation during dinosaur evolution.”
File under: Convergent evolution