Updated WordClass.py with @property