Fix enumerations not being set