Use still more generic function to consume tokens.