Add doc. to typeStartToken and typeEndToken functions