Reorganize code's text wrap location
Fix generate_repr output