Stop generated code from using deprecated
Merge pull request #20 from JesseKPhillips/deprecation

Stop generated code from using deprecated