token functions docs added.