Update: toXrc.py for subclass