Fix inclusion of commands in generated code.