Implements tokens.