Support equals and hashCode.
Include totals by task.