internal static IntPtr Add(IntPtr handle, int type) { handleTypes[type - 1].Add(handle); return handle; }