Add a function to retrieve an xref by its key.