Add due date and priority to Task class.