Added function to facilitate token init.