Switching isTaskDue to a property.