generated code to be more like ruby