Use def_elt_end instead of destroying the context directly.