Check for token collisions.
Closes #3.