Move registering of more enums out from global.lua