Make fromHexInternal private