Minor model fixup: use cls appropriately in a classmethod.