Changed property decorators to classmethod.