Added fields, redid Model's setattr to support fields and local vars