Removes redundant toString() methods and corrects the toString() method in BaseDTO.java.