>> you shouldn't need to worry too much about re-running the generator breaking things or stomping on your code.
Can't agree more! There are code parsers which give out a DOM and then code can be manipulated. But is a bit of work. We are trying this concept in our framework.