Improving readability of code generator