Added braces to prevent ambiguous if-else in CG.