Added missing @classmethod decorator