Prevent NullPointerException when toString() is called before dynaClass is initialized.
Changed paths: