Improve readability of some code generator methods
Improve readability of some code generator methods

gausie/opal,merongivian/opal,Mogztter/opal,wied03/opal,jgaskins/opal,Flikofbluelight747/opal,suyesh/opal,jannishuebl/opal,jgaskins/opal,opal/opal,bbatsov/opal,domgetter/opal,fazibear/opal,catprintlabs/opal,c42engineering/opal,kachick/opal,gausie/opal,fazibear/opal,kachick/opal,Mogztter/opal,gausie/opal,Mogztter/opal,c42engineering/opal,Mogztter/opal,domgetter/opal,Ajedi32/opal,merongivian/opal,kachick/opal,catprintlabs/opal,c42engineering/opal,bbatsov/opal,jannishuebl/opal,suyesh/opal,jannishuebl/opal,opal/opal,Flikofbluelight747/opal,opal/opal,iliabylich/opal,suyesh/opal,wied03/opal,Flikofbluelight747/opal,opal/opal,jgaskins/opal,merongivian/opal,charliesome/opal,catprintlabs/opal,iliabylich/opal,iliabylich/opal,castwide/opal,Ajedi32/opal,kachick/opal,fazibear/opal,bbatsov/opal,castwide/opal,gabrielrios/opal,charliesome/opal,Ajedi32/opal,wied03/opal,castwide/opal,gabrielrios/opal,gabrielrios/opal