Fixed retrieval of alphabet by main class.