Proper loading and unloading of TListOfEnums (ROOT-5703).