enhance generator to produce enum sets of various types