ClassBuilder now also caches generated sources.
Cleaned up ClassBuilder a bit.