Update LuaTools enum helpers to be more like other types.