Added two methods in RLNetUtil.