The whole bottom of this file is a bunch of stuff I use for testing, i.e. just to see what the generated code looks like. Really, it should all be turned into unit tests and moved out of here (even the not-commented stuff), but I haven't quite figured out how to do that yet. So I would elect to leave it for now, but as you noticed, it is getting pretty long.