More code generation utilities