Removes unnecessary code from token type.
Removes unnecessary pointer usage.