Did the right thing; used getattr.