Add some functions to make current token available.