Merge "Improved logging and dump on TextClassification."