Remove GlobalService and use EnumTypeUtil to replace it