Back to serializing to source.
Fixed issues with loops in intermediate.
Cleaned up the ClassIntermediateVisitor to remove empty methods.