Add code to produce enum