Remove unnecessary "__toString" methods.