Make FindReferences usable from REPL