Changed the data model for Task and TaskInputValue.