Make sure any __toString modification meets the requirements.