Food for though, we should probably think of refactoring token to use a class instead of long and move that MaxToken there... http://docs.scala-lang.org/sips/pending/value-classes.html will help, but far from there ;)