Change 'model' to 'attributes'