Add script for generating enums.