Added code to generate a list of all enums to scalagen enum.