Added code generation support for boolean expressions and if statements.