add _ElementBase.data and .attribute_names