Fixed up usage of name vs. attribute