Better Alphabet implementation. Tests fixed.