Finish splitting out enums into codes