Add type declarations so the code is efficient when compiled for speed.
Fix test failure on Allegro Common Lisp.
Increate version number.