Defined equals/hashCode on ElemInContext