Made TypePrinter internal, got rid of obsolete methods, moved unit tests to correct classes.