setattr. may use a dict.