Remove unused tokenCheck function.