Added table repairing to tablewrap. Fixed mispelled class name.