Cleanup generator source.