BehaviorWriter now indents the generated code  properly