Refactored Generated code formatting.