Add with_xref/1 to utils