Styling fixes for generator.py. Will hide TypePrinter and FilenameProvider from tests too.