overriding Automata hash methods and creating public enums files