[COOK-4048] Be able to set models with attributes