Fix xref/mref autocompletion