Moved spellcheckertrie back to being function local.