Add getToken utilities.