Fix enums and test TCling with enums.