Added TaskModelFactory configuration