Gateway.java, still thread-safe issued unsettled.