Change the code generator to put { } around the function body, since many of these generated functions become fairly long.