I've been thinking about all this and I have been pondering ways to make my templated code more maintainable or better yet, get things to a point where I somewhat don't have to maintain code at all.
The idea I have come up with to create a CodeSmith template (I'm sure this can be done with other templating tools like MyGeneration) that let's me build CodeSmith Templates.
...