Initialize all const array members in generated code.

This badly needs to be refactored.