Use `attributeLocations` now.  Again, are we sure about the outer-scope?