Added some token implemetation.