remove deprecated ::_get_tokens()