Kill some uses of ->tdata()[i];
Handle use cases of @attribute foo, and @attribute(null) foo.