The fact that there's this local variable vs. attribute assignment bug suggests there's a missing spec, too; please add that.