Add hasChanges attribute to Task.