Add method MyClass::__toString