Reviewed Util class. Removed obsolete functions.