Token setting helper.