Add method to getAlphabet.