this variable is named `cls`, not `cls_`
Merge pull request #177 from goodscloud/fix_assign_attributes

this variable is named `cls`, not `cls_`