Util.java implementation.