Rename CodeGenerator methods.

Rename the CodeGenerator methods so that instead of having the "get"
prefix, they begin with "generate". This removes the false assumption
that they are simple getters.