Elem.attributeScope no longer val, to save memory