Allow lexicon functions to work on the diagnostic tool