Added new methods to Util.