Fixed mess between references and named elements (closes #29)
New ^= operator