Add MyClass for python