Removes redundant toString method.