Looks very nice! One thing I noticed are a bunch of escaped newlines somehow ending up in the report: Class: Num\nData: Bit, Class: Num They appear each time a class is displayed.