Indexed elements also mix in trait HasQName
Removed deprecated code