Clean up task model/repository.