Added TaskInput objects when saving task.