Add default values and validations to the task model