[Generator] Code style improvements.