Beginnings of a top level nextToken method.